package com.gitee.wsl.android.ext.okio

import okhttp3.internal.closeQuietly
import okio.FileNotFoundException
import okio.FileSystem
import okio.IOException
import okio.Path


/** Create a new empty file if one doesn't already exist. */
fun FileSystem.createFile(file: Path) {
    if (!exists(file)) sink(file).closeQuietly()
}

